package cn.bld.service;

import cn.bld.entity.SysRole;
import cn.bld.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysRoleService {
    public List<SysRole> findall();
    public int checkRole(String code);
    public int insertRole(SysRole sysRole);
    public SysRole findById(@Param("id")Integer id);
    public int updateSysRole(SysRole sysRole);
    public int deleteSysRole(@Param("roleid") Integer roleid);


}
